package com.rongxun.api.exception;

/**
 * @author yinhui
 * @classname: ApiException
 * @Description:
 * @date 2017/4/11 17:38
 */
public class ApiException extends Exception {

    private int mErrorCode;

    public ApiException(String msg, int errorCode) {
        super(msg);
        mErrorCode = errorCode;
    }

    public int getErrorCode() {
        return mErrorCode;
    }
}
